package com.springboot.dwhy;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@ServletComponentScan
@MapperScan(basePackages = "com.springboot.dwhy.mapper")
public class DwhyApplication {

    public static void main(String[] args) {
        SpringApplication.run(DwhyApplication.class, args);
        System.out.println("系统微服务启动成功");
    }

}
